getTableArray Query failed: ERROR: syntax error at or near "Channel" LINE 1: ...' || page || '/' || subpage) like '%/scripts/' Channel[0]... ^ select * from widgets where ((('/' || section || '/' || page || '/' || subpage) like '%/scripts/' Channel[0]['datacasting:channelUID'] '%' AND (POSITION (section IN '/scripts/' Channel[0]['datacasting:channelUID'] '') > 0) ) OR (('/' || section || '/' || page || '/' || subpage) like '/default/scripts/' Channel[0]['datacasting:channelUID'] '%')) and (("class" = 'workspace' OR "class" = 'secondary-navigation') ) order by arrangeby;